FROM nginx:latest

WORKDIR /app

COPY . /app/

EXPOSE 80

RUN  rm -rf /etc/nginx/conf.d/defalut.conf \
  && cp -r config/defalut.conf /etc/nginx/conf.d \
  && cp -r dist/* /usr/share/nginx/html \   
  && rm -rf /app